﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="Reportes_Default" MasterPageFile="~/Library/Site.master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
<h1>Reportes</h1>
<asp:HiddenField ID="hfid" runat="server" />


 <table border="1">
                    <tr>
                        <th bgcolor="#6982a0" width="50"> <font color="white"><b>Categoria</b></font></th>
                        <th bgcolor="#6982a0"> <font color="white"><b>Nombre</b></font></th>
                        <th bgcolor="#6982a0"> <font color="white"><b>Descripción</b></font></th>
                        <th bgcolor="#6982a0"> <font color="white"><b>Ver</b></font></th>
                    </tr>
                    <asp:ListView ID="ListView1" runat="server">
                        <LayoutTemplate>
                            <tr ID="itemPlaceholder" runat="server"></tr>
                        </LayoutTemplate>
                        <ItemTemplate>
                            <asp:PlaceHolder ID="phEncabezado" Runat="server" Visible='<%# MuestraCabecera(Eval("categoria")) %>'>
                            <tr>
                                <td colspan="27"><b>&nbsp;<%#Eval("categoria")%></b></td>
                            </tr>
                            </asp:PlaceHolder>
                            <asp:PlaceHolder ID="phResultadosIncidencias" Runat="server">
                            <tr>
                                <td style="border-style: none; border-width: medium; border-color: inherit;"></td>
                                <td><asp:HyperLink ID="HyperLink2" NavigateUrl =  '<%#Eval("url").tostring()%>' Target =  '<%#Eval("target")%>'    runat="server"><%# Eval("SubModulo")%></asp:HyperLink></td>
                                <td><%#Eval("descripcion")%></td>
                                <td>
                                    <asp:HyperLink ID="HyperLink1" NavigateUrl =  '<%#Eval("url").tostring()%>' Target =  '<%#Eval("target")%>'    runat="server"><img alt="Ver..." src="../Imagenes/bar_chart_icon.png" border=0 ></asp:HyperLink>
                                </td>
                            </tr>
                            </asp:PlaceHolder>
                        </ItemTemplate>
                    </asp:ListView>
                    </table>

</asp:Content>